<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Uber.WebUI.Models.ChangePasswordInput>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Index
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>Change Password</h2>    
    <div class="inputform">      
        <form method="post" action="<%=Url.Action("index") %>">
        <div class="efield">
            <div class="elabel">
                <label for="Current Password">
                    Current Password:</label>
            </div>
            <div class="einput">
                <%=Html.PasswordFor(model => model.CurrentPassword)%>
                <%=Html.ValidationMessageFor(model => model.CurrentPassword)%>
            </div>
        </div>
        <div class="efield">
            <div class="elabel">
                <label for="New Password">
                    New Password:</label>
            </div>
            <div class="einput">
                <%=Html.PasswordFor(model => model.NewPassword)%>
                <%=Html.ValidationMessageFor(model => model.NewPassword)%>
            </div>
        </div>
        <div class="efield">
            <div class="elabel">
                <label for="Confirm New Password">
                    Confirm New Password:</label>
            </div>
            <div class="einput">
                <%=Html.PasswordFor(model => model.ConfirmNewPassword)%>
                <%=Html.ValidationMessageFor(model => model.ConfirmNewPassword)%>
            </div>
        </div>
        <div class="efield esubmit">
        <input type="submit" value="Change" /><%=Html.ActionLink("Cancel","index","profile") %>
        </div>
        </form> 
        <%=Html.ValidationSummary(true) %>     
    </div>
</asp:Content>
